﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace myapp.ViewModels
{
    /// <summary>
    /// Possitton
    /// </summary>
    public class Possition
    {
        public enum PossitionState
        {
            Free,
            Bussy,
            Cash
        }

        /// <summary>
        /// ID of Possition
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Name of Possition
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Group of Possition
        /// </summary>
        public PossitionGroup Group { get; set; }

        /// <summary>
        /// PossitionState
        /// </summary>
        public PossitionState State { get; set; }

        /// <summary>
        /// Recent Order of Possition
        /// </summary>
        public Order Order { get; set; }
    }
}
